package cn.rc.rcsystem.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-12-09
 */
@TableName("vehicle_service")
public class VehicleService extends Model<VehicleService> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("user_id")
    private Long userId;
    private String username;
    private Date createtime;
    private Integer phone;
    @TableField("car_number")
    private String carNumber;
    @TableField("vehicle_license")
    private String vehicleLicense;
    @TableField("drive_certificates")
    private String driveCertificates;
    @TableField("driving_mileage")
    private Integer drivingMileage;
    private String vin;
    @TableField("parts_name")
    private String partsName;
    private Integer count;
    @TableField("employee_id")
    private Long employeeId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getVehicleLicense() {
        return vehicleLicense;
    }

    public void setVehicleLicense(String vehicleLicense) {
        this.vehicleLicense = vehicleLicense;
    }

    public String getDriveCertificates() {
        return driveCertificates;
    }

    public void setDriveCertificates(String driveCertificates) {
        this.driveCertificates = driveCertificates;
    }

    public Integer getDrivingMileage() {
        return drivingMileage;
    }

    public void setDrivingMileage(Integer drivingMileage) {
        this.drivingMileage = drivingMileage;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "VehicleService{" +
        ", id=" + id +
        ", userId=" + userId +
        ", username=" + username +
        ", createtime=" + createtime +
        ", phone=" + phone +
        ", carNumber=" + carNumber +
        ", vehicleLicense=" + vehicleLicense +
        ", driveCertificates=" + driveCertificates +
        ", drivingMileage=" + drivingMileage +
        ", vin=" + vin +
        ", partsName=" + partsName +
        ", count=" + count +
        ", employeeId=" + employeeId +
        "}";
    }
}
